package cn.aiyuan.service.impl;

import cn.aiyuan.dao.PhoneDao;
import cn.aiyuan.pojo.Phone;
import cn.aiyuan.service.IPhoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wy
 * @since 2020/7/6
 */
@Service
public class PhoneServiceImpl implements IPhoneService {

    @Autowired
    private PhoneDao phoneDao;

    @Override
    public void insert(Phone phone) {
        phoneDao.save(phone);
    }
}
